testing bufferManager