Adding PDF generation module and mocha test