Adding Tag class and test of Tag