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

i dont undestand! Without this line i dont allow access to spy in nested function. teardown need remove? Thanks!