updated unit tests for scheduler bug fixes