adding test for TransportProtocolFactory.__call__