Convert scheduler tests to integration tests

This won't run for a while, probably better to explicitly call it after decoding the JSON, but before checking the error.