Add basic unit tests
Add mocha to devDependencies & test script