Setting the environment to 'test' in mocha tests.