code: def test_first(env_async, foo):
      tmpl = env_async.from_string("{{ foo()|first }}")
      out = tmpl.render(foo=foo)
      assert out == "0"
  
imports: from collections import namedtuple
  import pytest
  from markupsafe import Markup
  from jinja2 import Environment
  from jinja2.async_utils import auto_aiter
label_desc: Use image node_id 3 for calling a global function with example usage: test_first(env_async, foo) without return types