Convert scheduler tests to integration tests

changed in 05b55cf