Adds tests for set/removeFilter.