Added XML unittest.