Tests for delete