Configure test environment