t7501: add tests for --amend --signoff