tests: ensure clone returns matching documents.