testing filters in unit tests.