code: def test_varnamelist2():
      # Test tricky cases of varnamelist
      varnamelist = ["x", "y", "x3"]
      string = "x + y + x3 = 0"
      # print("symbolic string:\n%s" % string.rstrip())
      newstring = replace_variables(string, varnamelist, "x")
      # print("new symbolic string:\n%s" % newstring.rstrip()
      assert newstring == "x0 + x1 + x2 = 0"
  
file_path: mystic/mystic/tests/test_symbolic_basic.py
imports: from numpy import asarray
  from mystic.constraints import issolution, as_constraint, solve
  from mystic.coupler import inner
  from mystic.symbolic import *
  from mystic.tools import random_seed
  from mystic.math import almostEqual
label_desc: Use image node_id 7 for calling a global function with example usage: test_varnamelist2() without return types