Wire npm test to run mocha.
Include error.stack if the callback was called again with an Error.