code: def test_image_base_v1(fake_writer):
      image = Image()
      image.add(src=TEST_SRC, style_opts={"align": "center"})
      image.set_global_opts(
          title_opts=opts.ComponentTitleOpts(title="Image Test")
      )
      image.render()
      _, content = fake_writer.call_args[0]
      assert_in(TEST_SRC, content)
  
file_path: pyecharts/test/test_image.py
imports: from unittest.mock import patch
  from nose.tools import assert_in
  from pyecharts import options
  from pyecharts.components import Image
  from pyecharts.globals import CurrentConfig, NotebookType
label_desc: Use image node_id 3 for calling a global function with example usage: test_image_base_v1(fake_writer) without return types