update: additional tests to tagsSpec.js
update: tags.js additional functionality