Added predicate tests