Added unit test for XML file.