test with DomRepresentation