clean up test spec
validate tags that have no text (#661)