Change io to StringIO
- add 'include StringIO'
- change io.StringIO to StringIO.StringIO on line 39