How to test and diagnose integrated circuits ICs