Test of the adiabatic approximation for vibrational energies of H2O