fix readBuffer position bug
add table data test