2018-06-18: Update tests after changes in time series ids.
2018-01-31: Fixed bug in translation of legacy keys. 
2017-11-16: Fixed bug in get_dataset that prevented correct use of apikey. 
2017-11-16: Made get_dataset and get_time_series work when series of length 0 are returned.
