added more tests for filter