Clarrified change in Sinon.JS