updated SchedulerTest