fix the time test case