dependency updates for Mocha 

as i tried to run the tests, there were dependencies missing on my machine. i installed them and added them to the package.json file.

also, added one test and made comments in test/test.js