Fix test for alphanum
Fix tests for minlength and max_length
Fix isValid for cases without constraints
Merge pull request #776 from marcandre/no_constraint

No constraint