Add BeanPredicates tests