Added test for getQueueBufferSize() in OutputBuffer (#1110)