Register mocha as a dependency. Fixes #31