Wrote test cases for filters