added a simple mocha test