Added a simple mocha test.