[mdoc] Additional test conditions for private interfaces