code: def test_refs(self):
      table = ir.TableRange(10, 1)
      ref = ir.Ref("row", table.typ.row_type)
      x = ir.TableMapRows(
          table,
          ir.MakeStruct(
              [
                  ("foo", ir.GetField(ref, "idx")),
                  ("bar", ir.GetField(ref, "idx")),
              ]
          ),
      )
      expected = (
          "(TableMapRows (TableRange 10 1)"
          " (MakeStruct"
          " (foo (GetField idx (Ref row)))"
          " (bar (GetField idx (Ref row)))))"
      )
      assert expected == CSERenderer()(x)
  
imports: import re
  import unittest
  import numpy
  from numpy.testing import assert_array_equal
  import hail
  import hail.ir
  from hail.ir.renderer import CSERenderer
  from hail.expr import construct_expr
  from hail.expr.types import tint32
  from hail.utils.java import Env
  from hail.utils import new_temp_file
  from test.hail.helpers import *
label_desc: Use image node_id 11 for calling the CSETests obj's underlying member method code with example usage: obj.test_refs() without return types