Add Mocha test.