python3 compatibility: etree returns a bytes type string so in py3 we need to decode it to compare with a unicode string