fix testcase for 5.2

also add simple conformance test which bin file output from c++ protobuf.