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