Replace qunit with mocha tests.