add test case for filtering when apply_filter=F