rowSubset that takes a predicate
slight improvement to test / demo