New unit-test for some tag-related things.