added calibration field for analog channel + updated unit tests