test cases for filters