Enforce 'dev' environment for test runs

Otherwise tests like ControllerTest will fail because Deprecation notices