test-protocol-objects: factor out check_tp_protocol()
test creating a TpProtocol by passing its immutable props
protocol: add TpProtocol:protocol-properties-vardict
add tp_protocol_new_vardict()