added test cases for errors in sched_get_priority_min and sched_get_priority_max.
added test case for sched_yield.