Fixed test stability by using time machine.