added test for getHTML