Complete tests of basic string buffer operations