[fabbione/kronosnet] 60428b: [tests] fix return code checking