Refactor length spec
Implement min/max validator spec