code: def test_nth():
      expected = list(range(10))
      l = nil()
      for i in reversed(expected):
          l = cons(relay.const(i), l)
  
      for i in range(len(expected)):
          nth = prelude.mod.get_global_var("nth")
          item = eval(nth(l, relay.const(i)))
          assert get_scalar(item) == i
  
imports: import pytest
  import tvm
  from tvm import relay
  from tvm.relay import testing
  from tvm.relay.backend.interpreter import ConstructorValue
  from tvm.relay import create_executor
  from tvm.relay.prelude import Prelude, StaticTensorArrayOps
  from tvm.relay.testing import count, make_nat_value, make_nat_expr
  import numpy
label_desc: Use image node_id 13 for calling a global function with example usage: test_nth() without return types