Added method to verify that serialization / deserialization preserves equals and hashCode (when this is supported).