Full code coverage for Tag class