Fixed the tests for the filter specs