you don't need to restore if you use this.sinon