A simple mocha + sinon stubbing helper.