fixes #2577 maintenance  implemented testNull() method and added check nullity condition on predicate classes

Good one. Even don't know if you get an array with a null argument, or a null array.