[TEST] Provide temp paths instead of temp files to make them available after a test fails