Add tests for ranges (excluding the ending index with ...)