Implement deleting.
Add a test for add queries.