- test.util.test_io: one more advanced testcase for mkstemp

test writing to the file as well