Improved test buffer size