test: disable IO.select test if #to_io is missing