Characterization and first test of an i-TED prototype at CERN n_TOF