Used a Python 3 compatible StringIO in test_utils