Add failing test for handling slightly invalid ranges.

Not sure if this is a bug, although this should be fixed, or ranges should throw on placing them invalidly.
Throwing the range way out of bound is ugly and bound for silent fails