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

@tauzen this is the change that I'd like you to check