Add predicate tests