Added 'MinLength' and tests for 'MinLength'.