Test of optical fibers under electron beam irradiation