code: def test_localstorage_serialize():
      d1 = DictionaryDHTValue()
      d2 = DictionaryDHTValue()
  
      now = get_dht_time()
      d1.store("key1", b"ololo", now + 1)
      d2.store("key2", b"pysh", now + 1)
      d2.store("key3", b"pyshpysh", now + 2)
  
      data = MSGPackSerializer.dumps([d1, d2, 123321])
      assert isinstance(data, bytes)
      new_d1, new_d2, new_value = MSGPackSerializer.loads(data)
      assert (
          isinstance(new_d1, DictionaryDHTValue)
          and isinstance(new_d2, DictionaryDHTValue)
          and new_value == 123321
      )
      assert "key1" in new_d1 and len(new_d1) == 1
      assert (
          "key1" not in new_d2
          and len(new_d2) == 2
          and new_d2.get("key3") == (b"pyshpysh", now + 2)
      )
  
file_path: hivemind/tests/test_dht_storage.py
imports: import time
  from hivemind.dht.storage import DHTID, DHTLocalStorage, DictionaryDHTValue
  from hivemind.utils.serializer import MSGPackSerializer
  from hivemind.utils.timed_storage import get_dht_time
label_desc: Use image node_id 9 for calling a global function with example usage: test_localstorage_serialize() without return types