code: def test_fix_datalad_ri():
      assert_equal(_fix_datalad_ri("/"), "/")
      assert_equal(_fix_datalad_ri("/a/b"), "/a/b")
      assert_equal(_fix_datalad_ri("//"), "///")
      assert_equal(_fix_datalad_ri("///"), "///")
      assert_equal(_fix_datalad_ri("//a"), "///a")
      assert_equal(_fix_datalad_ri("///a"), "///a")
      assert_equal(_fix_datalad_ri("//a/b"), "///a/b")
      assert_equal(_fix_datalad_ri("///a/b"), "///a/b")
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_fix_datalad_ri() without return types