test for a night