added a test that proves #106
fixes #106

made it stateless, so consecutive calls are possible
Merge pull request #106 from stivni/statefull-service-fix

Pdf class keeps state between two consecutive calls to generate method