Added test for filter