TRQ-2039 Found another place where dynamic string was being overfilled.
Fixed unit test.
Fixed unit tests.