Test length limits