added test for isInstanceOf predicate