Add a test for HtmlWriter.get_sections()