I think the test name should be `test_to_io_returns_the_tempfile`. WDYT?