Testing interaction models by using x-ray absorption spectroscopy: solid Pb