script test diagnostics