code: def test_serialisation():
      domain = Domain(
          {"a": [1, 2], "b": {"c": {1, 2, 3}, "d": {"o1", "o2"}}}
      )
      serialised = domain.serialise()
      deserialised = Domain.deserialise(serialised)
      assert deserialised == domain
  
file_path: hypertunity/hypertunity/tests/test_domain.py
imports: from collections import namedtuple
  import pytest
  from hypertunity.domain import Domain, DomainNotIterableError, DomainSpecificationError, Sample
label_desc: Use image node_id 6 for calling a global function with example usage: test_serialisation() without return types