Testing and calibration