ContainsPredicate test