update memread/memwrite tests