Another fix to unit test UtilTest.tickCountAndSleep.