Tests would not run without these dependencies.

"npm test" was just erroring out before this.

You might also wanna set mocha as a dependency and invoke via ./node_modules/.bin/mocha in case the mocha API changes in future.