=str #15740 hookup filter and collect

* copy tests from old DSL
* adapt ChainSetup to the new DSL
Merge pull request #15834 from 2m/wip-hook-filter-collect

=str #15740 hookup filter and collect