Fix test method to use the same time