Added mocha unit test to package