def METHOD_NAME(self):
    """Test predicates with function calls"""
    self.q('*[eq("foo", "foo")]', {"root"})
    self.q('*["$(eq,foo,foo)"]', {"root"})
    self.q('*[eq("foo", "bar")]', set())
    self.q('*["$(eq,foo,bar)"]', set())