Diagnostic plug