Wrote RangeDatatype tests.