[first draft] enhanced version of SqlPredicateTest

Missing features:
- fully configurable customPredicate
- needs more types of customPredicate

Waiting your review.
Have you tested this? I assume IdentifiedDataSerializable must be registered somehow