Update document_test.go to reflect change in handling of font dictionaries.