Test receiving/dumping messages