added minlength and maxlength validations and Contexts for test suites