test temp files go in the temp dir