test diagnostics