rewrote `checkTags`
rewrote `checkTags`

* rewrote `checkTags` so it should not miss tags now
* rewrote `TestCheckTags` to use a testing table

JackKnifed/goki,JackKnifed/goki,JackKnifed/gnosis,JackKnifed/gnosis