testing matrix bugs in xml file