Better pdef test sources, #157.
python. Migrated to better pdef test sources, fixed #157.