Make command-line tests a bit more resilient
We now match the command line output per section, in a fuzzier way than before.