Alternator diagnostic