Refactor tag creation in things controller tests.