[RFCv3 06/25] tests: Add tests for xmlgen