add test for name length validation