Followup to https://github.com/patternfly/patternfly-react/pull/10235 - add unit tests - make a prop for the filter function