Scheduler: Rewritten tests.