test: improve code coverage for string decoder
This PR attempts to cover this line of uncovered string decoder code from the coverage report, after exploring with nodejs/getting-started repo that led to consulting with nodetodo.org about contributing to unit test code.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines