Fix predicate test