Fix time test