code: def _validate_roundtrip(self, o, attributes, save_dir, file_format):
      save_attributes(o, attributes, save_dir, file_format=file_format)
  
      o_post = Example()
      load_attributes(
          o_post, attributes, save_dir, file_format=file_format
      )
  
      for attribute in attributes:
          assert getattr(o, attribute) == getattr(o_post, attribute)
  
file_path: responsible-ai-toolbox/responsibleai/tests/tools/shared/test_attribute_serialization.py
imports: import pytest
  from responsibleai._tools.shared.attribute_serialization import SerializationExtensions, SerializationFormats, load_attributes, save_attributes
label_desc: Use image node_id 8 for calling the TestAttributeSerialization obj's underlying member method code with example usage: obj._validate_roundtrip(o, attributes, save_dir, file_format) without return types