Fix PDFInfo test that was failing on travis

Don't know why it was failing as I've not touched it, but this should make it work.