fix time-dependent broken test