Bug 1070845-r1 - [sharedtest] unit test refactoring for new version chai.assert api

I really think that
```js
  spy = this.sinon.spy(ImageUtils.Downsample, 'sizeNoMoreThan');
```
should work. Are you sure it doesn't?

if this work, you can then remove the teardown below.