testing: making tests portable between python2 and python3