Test stubs for document querying