Created the test file TagTest.java
implemented the test class TagTest.java