Added test for string length.