cli: fix check message command test.

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>