Intermittent structures and magnetic discontinuities on small scales in MHD simulations and solar wind