In reality, for any complex program you are unlikely to test even a minuscule percentage of the permutations your code will be put through.
Keeping this in mind at all times will make you humble enough to change your mindset from an arrogant state to a helpful one whenever a bug is reported (in spite of having a test suite in place)