fix TEST_MEM_EQ()