Issue 35: actually test string truncation in c impl.  thank qerub