Not sure about the sensor, color and other function in your new phone is working ? If you want to test your new Samsung phone to make sure every sensor, every color is working correctly, you just need a Samsung phone and a code to launch HwModuleTest which already in your Samsung phone.
Press your phone icon like you are about to make a call.
On keypad, press the code on the topic here and you will see a white screen with all of your phone sensor. Have fun!!
Note: My phone is Galaxy S4 so i not sure about other Samsung phone. ><