code: def test_add_estimator_args(tmp_path):
      """Test adding estimator with args specified."""
      benchmark = benchmarks.BaseBenchmark()
  
      benchmark.add_estimator(
          estimator=NaiveForecaster(strategy="drift"),
          estimator_id="test_id-v1",
      )
      benchmark._add_task(factory_estimator_class_task)
  
      results_file = tmp_path / "results.csv"
      results_df = benchmark.run(results_file)
  
      assert results_df.iloc[0, 1] == "test_id-v1"
  
file_path: sktime/sktime/benchmarking/tests/test_benchmarks.py
imports: from typing import Callable
  import pandas
  import pytest
  from sktime.base import BaseEstimator
  from sktime.benchmarking import benchmarks
  from sktime.forecasting.naive import NaiveForecaster
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 3 for calling a global function with example usage: test_add_estimator_args(tmp_path) without return types