code: def test_new_output_series_processor(dummy_data):
      def abs_diff(sig1, sig2):
          return pd.Series(
              np.abs(sig1 - sig2),
              name=f"abs_diff_{sig1.name}-{sig2.name}",
          )
  
      series_processor = SeriesProcessor(
          series_names=[("EDA", "TMP")],
          function=abs_diff,
      )
      series_dict = dataframe_to_series_dict(dummy_data)
      res = series_processor(series_dict)
  
      assert res.keys() == set(["abs_diff_EDA-TMP"])
      assert_index_equal(
          res["abs_diff_EDA-TMP"].index, dummy_data.index
      )
      assert_series_equal(
          res["abs_diff_EDA-TMP"],
          np.abs(dummy_data["EDA"] - dummy_data["TMP"]),
          check_names=False,
      )
  
imports: from typing import List
  import numpy
  import pandas
  import pytest
  from pandas.testing import assert_index_equal, assert_series_equal
  from tsflex.processing import SeriesProcessor, dataframe_func
  from .utils import dataframe_to_series_dict, dummy_data, series_to_series_dict
label_desc: Use image node_id 15 for calling a global function with example usage: test_new_output_series_processor(dummy_data) and returns: pd