Added a few mocha tests.