Convert scheduler tests to integration tests

go f.Rectify()