Fix wrong time test