getTokenByRangeEnd, getTokenByRangeStart tests