added test for isInstanceOf predicate

For tests it doesn't really matter, but don't use wildcard imports. In regular HZ code checkstyle won't like it.