Fix sentinel test not to be so sensitive to time