testar viewPdf