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.
Why is flatten needed again here? It should be accessible via the `dependencies` above?