Testing Document Extraction