Implementation of Scheduler.Service for testing.
Implementation of Scheduler.Service for testing. The passed Ref[TestClock.Data] will be used to determine when to run the scheduled runnables. Make sure to call shutdown() to force execution of all remaining tasks.