The Ce 4f surface shift: A test for the Anderson-impurity Hamiltonian