Testing the Optically Thin Synchrotron Shock Model for Gamma-Ray Bursts Spectra from 2 to 700 keV with BeppoSAX