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

@marshall this is what I'd like you to check