Testing spacecraft components prior to flight is vital for a successful mission.

Rarely do you get a do-over with a spacecraft after it launches especially those bound for another planet.  You need to do everything possible to get it right the first time.