Add a test for Document.forms.
fixup! Add a test for Document.forms.
Merge pull request #1000 from Ms2ger/document-forms

Add a test for Document.forms.