refactor mem_nr test for new test suite layout
refactor mem_r test for new test suite layout