testing buffer output