read http://sinonjs.org/docs/#sandbox for more information about sinon's sandbox