invasive testing vs infrared