Modified sandboxed tests to use this.spy instead of sinon.spy
Modified all tests with spies to use test sandboxes.