Add rangeset unit tests