Swap out the timer for side effect free tests