added mocha and chai for unit testing