Added test for HtmlWriter