Fix to time tests to ensure that the time format is set to default