Fix tests. Format time.