Add test for protocol buffer hash code

This tests the hach code implemented in https://chromiumcodereview.appspot.com/64753003.

R=sigmund@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//63173006