Hi Jim,
You're probably initialising the buffer a bit too early:>
Attached is v7. Moved the `initStringInfo` as suggested and reran tests.
-- Best,Phil Alger