custom validator
fixed test for too long names