Test the usage of predicates from dbd