Simplify mock coordinator code for tests.