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

line 532 this.spy - TypeError: this is undefined