fixed SchedulerTest