Solve Issue #142, test result depended on version of pdfinfo.

Changes the test to check whether the metadata extracted is a superset of what we expect to have.
Merge remote-tracking branch 'rhcarvalho/bugfix/extract-pdf-test' into develop