in unit tests, if the temp environment folder already exists, remove it.