Adapted the unit tests to the new version of pdfbox.