ScanRangeIntersectTest

test for ScanRanges.intersect