Testing export to PDF