test: Convert scheduler tests to integration tests

Signed-off-by: Lewis Marshall <lewis@lmars.net>