added tests param in range
Added tests for multiple ranges