TST fix bound and StringIO