mock pdf generation for mailer tests