add test for nested targeted filtering