initialized lights on startup and fixed tests