Add predicate tests.