Battery and alternator testing