Learning Test - sinon.js