TODO:
- write the tests (can inspire from D8149)
- drop obsolete parts and refactor to something simpler (in another diff)- unstuck tests
Actually checking there is nothing moreIn another diff, we'll drop obsolete parts and refactor to do with yousimplify existing base code.
Related to T4273