Refactoring
Add test for find documents

- New method testFindDocuments