destroy the engine at the end of the test