add maxLength property
add maxLength property test code