Fix improper test for IO