test_io: remove unnecessary variables, typo correction