tests for tagging, eliminate dupes, script to unify tags