TestCase for checking libxml2 internal exception