test parsing and printingng all messag etypes