added light sensor testing