Added test for zero-length string.