delete tmpfile in test after run