convert tests away from Representation.getText