Create test for the NestedFilter that supports setFilter.