added Predicate tests