add testcase, Tempfile#close(true)