working test for ad hoc filtering