Beam test of the QMB6 calibration board and HBU0 prototype