Updated mocha tests.