electromagnetic testing