Test case
Use output length and collator when casting from string to string
merge nathanlws: Fix casts between string types

Merge pull request #1243 from nathanlws/sql-layer/fix-string-string-cast
https://github.com/FoundationDB/sql-layer/pull/1243