Testing relational databases