code: def to_array_test_data(self):
      smoke_data = [
          dict(point_args=(1, 2.0), expected=gs.array([1.0, 2.0])),
          dict(point_args=(2, 1.0), expected=gs.array([2.0, 1.0])),
      ]
  
      return self.generate_tests(smoke_data)
  
file_path: geomstats/tests/tests_geomstats/test_geometry/test_stratified/data/spider.py
imports: import random
  import geomstats.backend
  from geomstats.geometry.stratified.spider import Spider, SpiderMetric, SpiderPoint
  from geomstats.test.test_case import np_backend
  from .point_set import PointMetricTestData, PointSetTestData, PointTestData
label_desc: Use image node_id 2 for calling the SpiderPointTestData obj's underlying member method code with example usage: obj.to_array_test_data() and returns: self