add mocha for unit testing