tagAssert function

Assert that a tag has specified properties