Add mocha and chai unit testing