Fix `test_ctime_comes_from_the_older_tip()`

You may have seen that test fail from time to time, this PR fixes it.