Adding pdf tests