code: def serialize_them(self, cls, dirname):
      f = self.test_dir + dirname
      c1 = cls()
      c1.save(f)
      c2 = cls().load(f)
      assert c1.uid == c2.uid
  
file_path: spark-nlp/python/test/misc_test.py
imports: import shutil
  import tempfile
  import unittest
  import pytest
  from sparknlp.annotator import *
  from sparknlp.base import *
label_desc: Use image node_id 3 for calling the SerializersTestSpec obj's underlying member method code with example usage: obj.serialize_them(cls, dirname) without return types