Gaussian fluctuations for linear spectral statistics of deformed Wigner matrices