Completes feature for checking max input lengths.

Completes #9.