refs #10 Add a mocha test