code: def test_call_captured_function():
      def foo(a, b, c, d=4, e=5, f=6):
          return a, b, c, d, e, f
  
      cf = create_captured_function(foo)
      cf.logger = mock.MagicMock()
      cf.config = {"a": 11, "b": 12, "d": 14}
  
      assert cf(21, c=23, f=26) == (21, 12, 23, 14, 5, 26)
      cf.logger.debug.assert_has_calls(
          [
              mock.call("Started"),
              mock.call("Finished after %s.", datetime.timedelta(0)),
          ]
      )
  
file_path: sacred/tests/test_config/test_captured_functions.py
imports: import datetime
  import mock
  import random
  import sacred.optional
  from sacred.config.captured_function import create_captured_function
  from sacred.settings import SETTINGS
label_desc: Use image node_id 2 for calling a global function with example usage: test_call_captured_function() and returns: a,  b,  c,  d,  e,  f