add tests and pdf_to_txt method