More mocha tests