They did an absolutely amazing job and I take it as a given that this was not some novice mistake.
I would tend to assume they've thought of that though, and stuck with this part for reasons. Maybe there werent other space-ready alternatives or something.
On the other hand, if they had to budget for a second copy of everything in advance they may have never gotten to launch. Asking for the funding after already having good success behind them is likely a lot easier.
Things are tested all the time in factories. For how long? Till destruction.
When it comes to space missions, common sense starts bad and rapidly gets worse — there is no down, there is no “now”, metals can contact-weld without any supply of energy, exposed fluids boil until they freeze, radiation pressure is relevant, ionising radiation doses can be enough to break things, impact damage is radically different, launch times are prescribed by orbital dynamics, engines are more efficient when they are moving faster, fuel use is exponential with regard to change in velocity and nothing to do with distance, and the launch mass is heavily constrained. And that’s just the stuff I know from following Scott Manley and similar on YouTube — I’m a very long way from being a rocket engineer.
You hit the date, you test what you can, within that constraint.
(They were also heavily budget limited, and I’m sure everyone here has an example of a project which became more expensive because someone decided they “couldn’t afford testing”).
Even then, even despite people who probably have PhDs in specific engineering topics I can’t even name, half the time you can’t even tell what’s important to test vs “it’s common sense this will work fine for a thousand cycles” — hence the long list of missions which failed catastrophically.
It is rocket science.