Fixed bug with Range() on chars. Added unittests for Range() with chars.