test predicate