t3404: Add test case for auto-amending only edited commits after "edit"