Fix environment test

Updated environment test to use `mock` instead of `flexmock`.  Also, set development requirements in `dev_requirements.txt`