test fix

time() may change during the test