fix the coordinator test assertion
wip: move the engine tests to the integration test suite
some refactoring to make the engine suite compile
fix the engine test suite, it runs now
fix the api test