fix up test for 'compareHtmlAttrsAsJSON' option