Sorted attributes in strings of expected HTML in unit tests.