test timers and events