test pbclient and pbserver