removes unnecessary dependancy
Adds test for getDataRanges