Test and fix Scheduler.