change method to get url to make more general (not specific to
unidimensional data);
add methods to get more data
change test method to match new method name