Changed method name in test_environment.