Fixed bytes comparison issue for python 3 unit tests