adds test for resetting the timer to tests.js