code: def test_with_backend_array(backend_fw):
      local_ivy = ivy.with_backend(backend_fw)
      local_x = local_ivy.array([1, 2, 3, 4])
      ivy.set_backend(backend_fw)
      x = ivy.array([1, 2, 3, 4])
      assert np.allclose(x._data, local_x._data)
  
file_path: ivy/ivy_tests/test_ivy/test_misc/test_backend_utils/test_with_backend.py
imports: import pytest
  import itertools
  from hypothesis import strategies, given, settings, HealthCheck
  import ivy
  import numpy
  from ivy.utils.backend.handler import _backend_dict
label_desc: Use image node_id 4 for calling a global function with example usage: test_with_backend_array(backend_fw) without return types