set up mocha test enviroment