HtmlPrinter unit tests