Some mocha tests