fix memory hotremove test case