Test coverage added for iter_pairs ProtocolError
Test case added for _iter_items() ProtocolError.