code: def test_table_filter():
      hl.reset_global_randomness()
      ht = hl.utils.range_table(5)
      ht = ht.annotate(x=hl.rand_int32(5))
      ht = ht.filter(ht.x % 3 == 0)
      expected = [
          hl.Struct(idx=1, x=3),
          hl.Struct(idx=3, x=3),
          hl.Struct(idx=4, x=3),
      ]
      actual = ht.collect()
      assert expected == actual
  
imports: import hail
  from .helpers import qobtest
label_desc: Use image node_id 5 for calling a global function with example usage: test_table_filter() without return types