paper bag bug: json_string_set* functions should set the length too
in simple string tests, always check lengths too