test_parser: add option `-x` to output XML