Remove test record from xml file