aded charLength validator
fixed test error, added test for CharLength validator