Fix the time-related tests so they run anywhere