Wrote test for duplicate tags.
Merge branch 'master' into tags