Cleaned up and improved reduce test file.
Cleaned up and improved reduce test file.

arrayfire/arrayfire,arrayfire/arrayfire,umar456/arrayfire,9prady9/arrayfire,arrayfire/arrayfire,arrayfire/arrayfire,umar456/arrayfire,9prady9/arrayfire,umar456/arrayfire,9prady9/arrayfire,9prady9/arrayfire,umar456/arrayfire