Fix time sensitive test