Updated dev_requirements.txt
Updated environment test to use mock library.
Merge pull request #4044 from rca/fix_environment_test

Fix environment test