Test the metadata used for createHTMLDocument().
Merge pull request #1166 from Ms2ger/createHTMLDocument

Test the metadata used for createHTMLDocument().