Hi westrice,
Try to do "r" test after "w". "w" test filling FPGA memory with data from PC and then check it. "r" test read memory and send it to PC. There is no memory filling at start, so if was no "w" tests, "r" test will fail because it send not initialized buffer to PC. It's was done because initial filling take several seconds and PC don't know when it finished.
Regards
Alex