Added test to send buffer