XML utilities test and implementation