new test for poppler_pdf_text

- shows encoding errors
- includes fix for borked page range check