tests: temp dir fixes