Make var length string overflow tests consistent.

This commit modifies the variable length string overflow tests slight to
make them consistent with the other overflow tests.