Ensure key is a locally scoped var
Specs to ensure that the _clearFilters function exists and is called