Welding detection of gears and differentials