Sinon tests examples