Fix format_time test