Inject ticker so tests are fast and reliable