code: def test_init(self, device, dtype, batch_size):
      q = Quaternion.identity(batch_size, device, dtype)
      s1 = So3(q)
      s2 = So3(s1.q)
      assert isinstance(s2, So3)
      self.assert_close(s1.q.data, s2.q.data)
  
imports: import pytest
  import torch
  from kornia.geometry.conversions import euler_from_quaternion
  from kornia.geometry.liegroup import So3
  from kornia.geometry.quaternion import Quaternion
  from kornia.geometry.vector import Vector3
  from kornia.testing import BaseTester
label_desc: Use image node_id 8 for calling the TestSo3 obj's underlying member method code with example usage: obj.test_init(device, dtype, batch_size) without return types