code: def test_nd_2(self, xp, scp):
      # Check transform on n-D array input
      x = xp.arange(3 * 2 * 28).reshape(3, 2, 28)
      y1 = scp.signal.zoom_fft(x, [0, 2], endpoint=False)
      y2 = scp.signal.zoom_fft(x[2, 0, :], [0, 2], endpoint=False)
      return y1, y2
  
imports: from math import pi
  import pytest
  import cupy
  import numpy
  from cupy import testing
  from cupy.testing import assert_allclose
  import cupyx.scipy.fft
  import cupyx.scipy.signal
label_desc: Use image node_id 9 for calling the Test1D obj's underlying member method code with example usage: obj.test_nd_2(xp, scp) and returns: y1,  y2