add test, remove tempfile when run GC
disable Tempfile#open