added test for isInstanceOf predicate
fix for checkstyle
Merge pull request #3173 from buremba/copy-master1

added test for isInstanceOf predicate