Random test uses temp files now