fixes to make tests work with recent changes in https://github.com/protobuf-c/protobuf-c, 1.0.0-rc1