Fix bug in THaGenDetTest.h - did not include <iostream>

Only revealed in compiling standalone codes.