Added a test for pdf report generation.