added predicate test