test-delete whendone