adds validition of size to min/max length
adds a spec for validation of size