TEST: added sleep(1) to avoid re-creation of a temporary folder with same name