added test for get_env_name