Add options test for protobuf port option in collector

Change-Id: I45f07656893505a2dcc484bb4d9129375b9bd2fb
Merge "Add options test for protobuf port option in collector"