rm possible mem leak in test