changed testDelete testing method