Day/night cycle functionality + tests