Tests to make sure that we can delete a query or cancel a delete.