add testing buffer and utils