createTestEnvironment

Creates an engine environment for a test application.