added unit test for filters