Fix underflow in char_range_at_reverse

Added char_range_at_reverse underflow test