add more tests for pbmessage