Add a unit test for log_time module.