Scheduler and TestScheduler