[Minor] fixed failing test due to different formatting of xml writing