testing the amend command