need a better way of testing string outputs