minor improvement to html_safe test