modify tests, function prefer in sched.c