Tests for adding and deleting tags.