Fix broken integration tests caused by switching to the new filter UI.
Add a new set of unit tests for testing preferences and view states used for multiple file filter sets.