testing memory leak