Test for loadHtml