Range and MaxMinLength Unit tests