test. New pdef test files, #288.
java. Migrated to new pdef tests, #288.
python. Migrated to new pdef tests, fixed #288.