chore(test): replace MkdirTemp and os.TempDir with t.TempDir (#298)
Replaces usages of os.TempDir and os.MkdirTemp with t.TempDir.
Contributes to #298 (closed)
Based on this commit (83337b8a) I think the current minimal version of Go is higher than 1.15 thus this refactoring can be applied.
Edited by Vitali Tatarintev