tests deletion