Implement and test pdf_page_get_text