Scheduler tests v1

I have moved `fakeCluster` into a shared `testutils` package, and added a test for `syncCluster` which checks that the context includes the correct formations after a sync.