instead of printing it you may assert for the existence of certain attributes in the string