replace custom test app creation code and test-with-the-app code with engine_cart