code: def test_numpy_pad(
      *,
      args,
      fn_tree,
      backend_fw,
      on_device,
      test_flags,
      frontend,
  ):
      dtype, x, pad_width, kwargs, mode = args
      helpers.test_frontend_function(
          input_dtypes=dtype,
          backend_to_test="numpy",
          frontend=frontend,
          test_flags=test_flags,
          fn_tree=fn_tree,
          on_device=on_device,
          array=x,
          pad_width=pad_width,
          mode=mode,
          **kwargs,
      )
  
imports: from hypothesis import strategies
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_test
label_desc: Use image node_id 4 for calling a global function with example usage: test_numpy_pad() without return types