[first draft] enhanced version of SqlPredicateTest

Missing features:
- fully configurable customPredicate
- needs more types of customPredicate

Waiting your review.
I would move the `new Predicate()` out of the loop, so we don't create so many new objects. Apart from that I like this very much :)