test_diagnostic