Calibration-assisted production testing for digitally-calibrated ADCs