test of generation of PDF files