Fix time tests