Using timers in a test