test for searching pdf-documents