Example code for using Mocha, Sinon, Chai, Chai-as-Promised, and Sandboxed Module for Node.js TDD