code: def test_operation_remove_pass(operation):
      """Check if test passes when remove operation works."""
      operation.c_stage.instance.write("test", {"index": "value"})
      result, msg = operation.check_remove()
  
      assert result == "Success"
      assert msg == ""
  
imports: import pytest
  import orion.core
  import orion.core.io.experiment_builder
  import orion.core.utils.backward
  from orion.core.cli.checks.creation import CreationStage
  from orion.core.cli.checks.operations import OperationsStage
  from orion.core.cli.checks.presence import PresenceStage
  from orion.core.io.database.pickleddb import PickledDB
  from orion.core.utils.exceptions import CheckError
label_desc: Use image node_id 22 for calling a global function with example usage: test_operation_remove_pass(operation) without return types