Fix in SchedulerTests http server.
Reworked SchedulerTests.