This kills the dependency on xdmx and makes the testsuite simpler and more flexible (in the output sizes / configurations).
Fixes: #596