Fix : remove extra \n in csv format
Enh : Test - Add double quote in logs
Enh : Test - Remove dupicated code