Test/feature 322 tenant validity check

### Description
Tenant name is checked for length (max 20 chars), reserved words, and content (only alphanum, '-' and '_' are allowed).