Testing delete functionality