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

It'd be cool if we, instead of `msg`, had more info here, i.e.:

`assert.equal(test[i], expected[i], msg + ' at position: ' + i);`

What do you think?