add more tests for pbmessage
Merge pull request #9 from yifan-gu/integrate_pb

add more tests for pbmessage