updated to comply with dependency (mocha, postal.js) API changes