Fix a test relying on a bug of libxml2