Add a test for Document.forms.