Fundamentals of Infrared Detector Operation and Testing