minor test mods to insert_xml