Refactor PDFDiff tests so that the new PDFDiffTestCase base class can be reused.