Preparing for mocha tests