fixed NPE in TrafficLightsTest