Testing Calibration in Nearly-Linear Time