Diagnostic tools for MEAs and stacks