added code for long formed tags test