test fixes
finalized the buffer interface