Added correct tests for getFilters