This makes it clearer what the tests are actually doing and kills quite a bit of useless repetitions
This kills the dependency on xdmx and makes the testsuite simpler and more flexible (in the output sizes / configurations).
Fixes: #596