impl delete with test