Convert scheduler tests to integration tests

ah yes I meant to change this, updated: e7fb941