Fix tests for libxml2 > 2.8
Merge pull request #211 from strzibny/master

Fix tests for libxml2 > 2.8