Fixed range operator for non-ints; moved tests.
Merge pull request #289 from ygra/range-op

Fixed range operator for conversions from other types.