code: def test_default_mode(self):
      self.add_master()
      self.add_worker(n_cpu=1)
      parl.connect("localhost:{}".format(self.port))
      actor = Actor()
      with self.assertRaises(RemoteError):
          actor.exit()
      with self.assertRaises(RemoteError):
          res = actor.add(10, 5)
      actor = Actor()
      ret = actor.add(10, 5)
      self.assertEqual(ret, 15)
  
file_path: PARL/parl/remote/tests/actor_status_test.py
imports: import unittest
  import parl
  from parl.utils.test_utils import XparlTestCase
  import time
  from parl.remote.exceptions import RemoteError
label_desc: Use image node_id 1 for calling the TestActorStatus obj's underlying member method code with example usage: obj.test_default_mode() without return types