cppcheck warning fixes in tests
cppcheck warning fixes in tests

cvra/uavcan,xukunfeng/uavcan,xukunfeng/uavcan,3drobotics/libuavcan,trigrass2/libuavcan,MaxQu/uavcan,ilia-sheremet/uavcan,381426068/uavcan,3drobotics/libuavcan,Yurisu/uavcan,Yurisu/uavcan,cvra/uavcan,diydrones/uavcan,cvra/uavcan,soulsheng/libuavcan,381426068/uavcan,tridge/uavcan,Yurisu/uavcan,diydrones/uavcan,kobrabyte/uavcan,pireerliu/uavcan,nuft/uavcan,ilia-sheremet/uavcan,trigrass2/libuavcan,3drobotics/libuavcan,kobrabyte/uavcan,pireerliu/uavcan,nuft/uavcan,kobrabyte/uavcan,kobrabyte/uavcan,diydrones/uavcan,xukunfeng/uavcan,cvra/uavcan,381426068/uavcan,PX4/uavcan,MaxQu/uavcan,PX4/uavcan,tridge/uavcan,ilia-sheremet/uavcan,tridge/uavcan,pireerliu/uavcan,diydrones/uavcan,nuft/uavcan,PX4/uavcan,tridge/uavcan,3drobotics/libuavcan,MaxQu/uavcan,Yurisu/uavcan,nuft/uavcan,soulsheng/libuavcan,pireerliu/uavcan,xukunfeng/uavcan,soulsheng/libuavcan,381426068/uavcan,soulsheng/libuavcan,ilia-sheremet/uavcan,trigrass2/libuavcan,PX4/uavcan,MaxQu/uavcan,trigrass2/libuavcan