Contactless testing using non-ionising electromagnetic radiation, e.g. optical radiation of integrated circuits