fix relative_index tests with new 0-based behaviour