Convert scheduler tests to integration tests

Ah, leave it then.