You can completely cover the solar panel to simulate nighttime, which will allow the photocell to trigger the light to turn on and thus test the lights.