it's not necessary because we use sinon's sandbox, it's automatically restored at the end, see https://github.com/mozilla-b2g/gaia/blob/master/dev_apps/test-agent/common/test/sinon_helper.js