added test scenario for pythonPdfWriter.