added test for empty array in TagsValidator
added test to validate duplicates in tags in TagsValidator