It's hard won.
When I manage to get a team to create a code base with good tests it turns out that it's easy to change and resilient in the face of sudden requests for features.
A poor test infrastructure doesn't do this, building a good infrastructure is a skilled task. But worth it!