Tests for deletion feature