test for amending previous commits