memory: remove dead code from the test.