add function for env name
added test for get_env_name
Merge pull request #5 from adeven/add-getenvname

add function for env name