Adding buffer output operations and test for them