In-situ electrical terminal characterization of fuel cell stacks