code: def test_type_persistence(gpdf):
      cugpdf = cuspatial.from_geopandas(gpdf)
      assert type(cugpdf["geometry"]) == cuspatial.GeoSeries
  
imports: import geopandas
  import numpy
  import pandas
  import pytest
  from geopandas.testing import assert_geodataframe_equal
  from shapely.affinity import rotate
  from shapely.geometry import LineString, MultiLineString, MultiPoint, MultiPolygon, Point, Polygon
  import cudf
  import cuspatial
label_desc: Use image node_id 10 for calling a global function with example usage: test_type_persistence(gpdf) without return types