unit test for timer.reset