typo fix in example, added mocha to devDependencies