testable timer impl