Write a cleaner test for checking if temp files are gone.