code: def test_random(self, xp, scp, func):
      x = testing.shaped_random((101,), xp, dtype=float)
      # check_zoom_fft(x)
      return func(x, xp, scp)
  
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 7 for calling the Test1D obj's underlying member method code with example usage: obj.test_random(xp, scp, func) and returns: func