you don't need to restore when you use this.sinon, it's taken care of by the sinon helper: https://github.com/mozilla-b2g/gaia/blob/master/dev_apps/test-agent/common/test/sinon_helper.js