Add unit tests for the next_check_date()