test/tagging: add test for error messages of tag --batch