Added PDF generation test