fixed test, libxml_disable_entity_loader will be always restored now