More white-box style tests for _safeAppendToBuffer flag