Battery pack AC internal resistance test