testing gen_investigate_csv