You can test how your photocell works by connecting a multimeter in resistance-measurement mode to the two leads and see how the resistance changes when you shine a light on it and then shading the sensor with your hand. Because the resistance changes a lot, put the meter in auto-ranging mode. Otherwise, just make sure you try different ranges, between 1MΩ and 1KΩ.

measuring a photocell