Added validation for variant duplication and used whitespace gem for the variant names. TRAD-32