XML formatting in test