created tests for ProtocolCommandLogger