Add testcase for PDF extraction