Improve AbstractEngineTest