Experimental verification of the HERD prototype at CERN SPS