Test differing behavior between NSString external and internal getCString:maxLength:encoding methods