add range iterator
test correct range behaviour for open start or end