tests: add test for warning on histedit with tagged commits

Authored by navaneeth.suresh.