runProtocolTests: fixed getMinError call