Bug 1070681 - [communications] unit test refactoring for new version chai.assert api (rebased)