Added tests for character ranges.