Improve test-coverage for StringBuilder

There were some bugs in some of the StringBuilder routines
that were added in, I've tried to get them as sturdy as possible
to be sure that my demo will always work correctly.