Create a test environment