Enforce 'dev' environment for test runs

Otherwise tests like ControllerTest will fail because Deprecation notices
Merge pull request #2116 from chillu/pulls/sapphiretest-env-type

Enforce 'dev' environment for test runs