add time unit test