Added TaskLazy and tests to SingleThreadScheduler.