Add some Mocha unit tests