fix(hintEvent_test): lessen specificity of error message test

In Firefox and Chrome, the `outerHTML` qualities of an element are listed in a different order.
Hence tests that require exact output of the hintEvents error message that includes the HTML
of the element which triggers the error do not pass consistently in both browsers.