added TestCoordinatorEngineSimple, other tests somewhat refactored.