Update test_mem.c