Measurements of high-gain antennas at THz frequencies