jasmine.Range intersect returns a new range with the part where both ranges overlap (from jasmine.specs)