A multi-beamlet injector for heavy ion fusion: Experiments and modeling