Measuring interference from external sources to, or emission from, the device under test