In my opinion, a lot tech debt comes from not changing the interfaces when they need to be changed. Tests fix your design so if your design is broken you're going to live with that.
But when I'm developing something new, I will frequently change the interface until I get something to be what I want to it be.
But when I'm developing something new, I will frequently change the interface until I get something to be what I want to it be.