@Test
public void deleteTag() {
Session session = HibernateUtil.getInstance().getSession();
Transaction tx = session.beginTransaction();
Tag tag = createTag("to-be-deleted-parent", "desc1", null);
Tag tag2 = createTag("to-be-deleted-child", "desc2", tag);
TagMembership tagMem = new TagMembership();
tagMem.setTag(tag);
PermissibleObject obj = new PermissibleObject();
obj.setName("tags for this should not exist");