eliminate test failur by using unique temp directory
use File::Temp in several test scripts