Update tests with mocha.