Corrects time format in test