runner/test: General handling of unicode between python2 and python3