Receiver offset correction, calibration, and tests