Fix : edit modified attribute at loop's end
Enh: Tests - Add test for external commands