Quick type checking refacto + test
Changed Tag.__repr__