Py3 fix for test_persistent_dict
persistent_dict fixes
Minor persistent_dict test addition
Move equality comparison to Record (which has pickling, as used by equality comparison)