add test for annotate duplicate key inspection in yaml and xml