Test fix for crash involving a null mavlink pointer