fixed Pdf tests