Memory leackage test