Added mocha for unit tests