unit tests for closeDay.