Add test for time_check