fixed bug in the predicate test suite