Unit tests for Photons