Adds capybara test for pdf generation