avoiding /tmp on test as it can fail depending on the server's state
Merge pull request #1299 from clebertsuconic/master-fix

avoiding /tmp on test as it can fail depending on the server's state
loop
Test fix try