code: def test_minibatch_sequential_pipeline_change_batch_size_works():
      tape1 = TapeCallbackFunction()
      tape1_fit = TapeCallbackFunction()
      tape2 = TapeCallbackFunction()
      tape2_fit = TapeCallbackFunction()
  
      p = MiniBatchSequentialPipeline(
          [
              MultiplyBy2FitTransformCallbackStep(
                  tape1, tape1_fit, ["1"]
              ),
              Joiner(batch_size=10),
              MultiplyBy2FitTransformCallbackStep(
                  tape2, tape2_fit, ["2"]
              ),
              Joiner(batch_size=10),
          ]
      )
  
      # When
      p, _ = p.fit_transform(list(range(20)), list(range(20)))
      p.set_batch_size(5)
      p, _ = p.fit_transform(list(range(20, 30)), list(range(20, 30)))
  
      # Then
      assert tape1.data == [
          [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
          [10, 11, 12, 13, 14, 15, 16, 17, 18, 19],
          [20, 21, 22, 23, 24],
          [25, 26, 27, 28, 29],
      ]
      assert tape1_fit.data == [
          (
              [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
              [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
          ),
          (
              [10, 11, 12, 13, 14, 15, 16, 17, 18, 19],
              [10, 11, 12, 13, 14, 15, 16, 17, 18, 19],
          ),
          ([20, 21, 22, 23, 24], [20, 21, 22, 23, 24]),
          ([25, 26, 27, 28, 29], [25, 26, 27, 28, 29]),
      ]
      assert tape1.name_tape == ["1", "1", "1", "1"]
  
      assert tape2.data == [
          [0, 2, 4, 6, 8, 10, 12, 14, 16, 18],
          [20, 22, 24, 26, 28, 30, 32, 34, 36, 38],
          [40, 42, 44, 46, 48],
          [50, 52, 54, 56, 58],
      ]
      assert tape2_fit.data == [
          (
              [0, 2, 4, 6, 8, 10, 12, 14, 16, 18],
              [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
          ),
          (
              [20, 22, 24, 26, 28, 30, 32, 34, 36, 38],
              [10, 11, 12, 13, 14, 15, 16, 17, 18, 19],
          ),
          ([40, 42, 44, 46, 48], [20, 21, 22, 23, 24]),
          ([50, 52, 54, 56, 58], [25, 26, 27, 28, 29]),
      ]
      assert tape2.name_tape == ["2", "2", "2", "2"]
  
imports: import unittest
  from neuraxle.data_container import StripAbsentValues
  from neuraxle.pipeline import MiniBatchSequentialPipeline, Joiner, Pipeline
  from neuraxle.steps.misc import TransformCallbackStep, TapeCallbackFunction, FitTransformCallbackStep
  from neuraxle.steps.numpy import MultiplyByN, ToList
label_desc: Use image node_id 3 for calling a global function with example usage: test_minibatch_sequential_pipeline_change_batch_size_works() without return types