test buffer with default capacity