This page contains unit tests for the jQuery Max Length plugin. To see them, take a look at the source.