Add a test for Document.doctype.