cleanup memorytest