added test for light sensor