Add tests for libxml2