Refactor + don't really need sinon.js for that single stub