code: def test_replace_object(self):
      annotator = PointAnnotator(Points([]), annotations=["Label"])
      annotator.object = Points([(1, 2)])
      self.assertIn("Label", annotator.object)
      expected = Table(
          [(1, 2, "")],
          ["x", "y"],
          vdims=["Label"],
          label="PointAnnotator",
      )
      self.assertEqual(annotator._table, expected)
      self.assertIs(annotator._link.target, annotator._table)
  
imports: from holoviews import Overlay
  from holoviews.annotators import PathAnnotator, PointAnnotator, annotate
  from holoviews.element import Path, Points, Table
  from holoviews.element.tiles import EsriStreet, Tiles
  from holoviews.tests.plotting.bokeh.test_plot import TestBokehPlot
label_desc: Use image node_id 4 for calling the TestPointAnnotator obj's underlying member method code with example usage: obj.test_replace_object() without return types