PD prefix in generated test sources, fixed #39.
Generator tests, python 3 support, fixed #38, fixed #34.