fixed GetDocumentRequest
added test for GetDocumentRequest