util: Add tests for the string buffer