code: def test_autoregression_ad():
      model = AutoregressionAD(n_steps=3, step_size=4)
      with pytest.raises(RuntimeError):
          model.fit(s)
  
      model = AutoregressionAD(n_steps=3, step_size=3)
      model.fit(s)
  
file_path: adtk/tests/test_few_shot_fit.py
imports: import numpy
  import pandas
  import pytest
  from adtk.detector import AutoregressionAD, LevelShiftAD, PersistAD, VolatilityShiftAD
label_desc: Use image node_id 4 for calling a global function with example usage: test_autoregression_ad() without return types