code: def test_clone(self, session):
      s = session
      s._add_digest("initial")
      s2 = s.clone()
      assert s2.session == s.session
      assert s2.digest_history == s.digest_history
      assert s2.digest_history is not s.digest_history
      digest = "abcdef"
      s._add_digest(digest)
      assert digest in s.digest_history
      assert digest not in s2.digest_history
  
imports: import hmac
  import math
  import os
  import platform
  import uuid
  import warnings
  from datetime import datetime
  from unittest import mock
  import pytest
  import zmq
  from dateutil.tz import tzlocal
  from tornado import ioloop
  from zmq.eventloop.zmqstream import ZMQStream
  from jupyter_client import jsonutil
  from jupyter_client import session
label_desc: Use image node_id 26 for calling the TestSession obj's underlying member method code with example usage: obj.test_clone(session) without return types