All length checking code was changed and therefore test plan must include testing of all existing behavior (regression testing), not just the part that was fixed. I guess you can create field declaration with all possible validation options and just confirm, that:
- when array is passed in no validation error happens
- when invalid scalar value (maybe several values needs to be used to match each of validation options) is passed the validation error happens
- when valid scalar value (maybe several values needs to be used to match each of validation options) is passed no validation error happens



