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

this.spy not worked in promise!