Sinon.JS lazy (and efficient) stub creator