updated dtoTests to work