Refactor no_time test.