code: def test_pad(
      *,
      dtype_and_input_and_other,
      reflect_type,
      test_flags,
      backend_fw,
      fn_name,
      on_device,
  ):
      (
          dtype,
          input,
          pad_width,
          stat_length,
          constant_values,
          end_values,
          mode,
      ) = dtype_and_input_and_other
      helpers.test_function(
          input_dtypes=dtype,
          test_flags=test_flags,
          backend_to_test=backend_fw,
          fn_name=fn_name,
          on_device=on_device,
          input=input,
          pad_width=pad_width,
          mode=mode,
          stat_length=stat_length,
          constant_values=constant_values,
          end_values=end_values,
          reflect_type=reflect_type,
      )
  
imports: from hypothesis import strategies, assume
  import hypothesis.extra.numpy
  import numpy
  import ivy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_test, create_concatenable_arrays_dtypes
  from ivy.functional.ivy.experimental.manipulation import _check_bounds
  from ivy_tests.test_ivy.test_functional.test_core.test_manipulation import _get_splits
label_desc: Use image node_id 40 for calling a global function with example usage: test_pad() without return types