remove unused ports in data memory
add data memory test