caching for XML, test fixed