added mocha and chai as dependencies