truncate $asHtml tests