Re #7656. Add test of filtered loading vs loading then filtering.

This replaces a (slow) unit test that was supposed to test the same thing.