add tests for repository-based inclusion/exclusion in IndexRecordFilterHook