Update string/char tests for python 3