testing AbstractBufferedProtocol