fixup unicode compat with 3.2 in test_index.py

fixes w.r.t. comment in #9101