tests of LightsManager