buffer read tests