setup and teardown for schedule test case.
removing debug lines.