fix tests and test with protobuf 2.5 PPA