Update JHtmlTest.php

Tooltips must be fully escaped, characters such as <> are disallowed in attributes. See JT 32989 / GH 3224