Change visibility of some methods in TbHtml.php and update TbHtmlTest.php