Bug 11247: Add a simple unit test for TransformHtmlToXml