CuDOSXML test does not work, CuDOS does
It turns out that the energy grid in the DOS.1 file in the XML version of the test is sampled at other energies than in the non-XML version. Therefore the energy that is searched for in the testing script is not found.
The problem can be traced back to the availability of a kpts file in the non-XML test, while the k-point mesh is generated on the fly in the CuDOSXML test. In the on-the-fly generation of the k-point mesh one of the k points differs from those in the kpts file. In the CuDOS test the same happens if the kpts file is not provided.