Add testing support with mocha.