Added in mocha tests