conversions for ProtocolShare
tests for ProtocolShare