Upper and lower boundaries can be excluded from the range of accepted values
Added tests for Range