Add mocha test runner
Add unit tests