add maxlength test
Merge pull request #1079 from patrickkettner/maxlength

add maxlength text