minor fixes to scheduler_test