Break up makeCommit & write more tests