make test pass with python3 + lxml