Adds TestFilter for testing filters.