Sure, but tests are only as good as the programmers that write them (and that's if those programmers are GOOD at writing tests, which is not universal). Not to mention no amount of automated testing is foolproof.
Full disclosure, I design and write system software tests for a living.
Full disclosure, I design and write system software tests for a living.