Implemented a TestResponse that outputs the PDF locally.