implementation of TestRepresentation and following bugfix in SimpleTag