code: def test_prepare_blender_object():
      @blender_utils.prepare_blender_object
      def add_asset(self, asset):
          bpy.ops.mesh.primitive_cube_add()
          cube = bpy.context.active_object
          return cube
  
      cube_asset = core.Cube()
      cube_obj = add_asset(None, cube_asset)
  
      assert cube_obj.name == cube_asset.uid
      assert cube_obj.rotation_mode == "QUATERNION"
      assert cube_obj in bpy.context.scene.collection.objects.values()
  
file_path: kubric/test/test_blender.py
imports: from kubric.safeimport.bpy import bpy
  from kubric import core
  from kubric.renderer import blender
  from kubric.renderer import blender_utils
label_desc: Use image node_id 1 for calling a global function with example usage: test_prepare_blender_object() and returns: cube