-assert = require 'assert'
+{assert} = require 'chai'
 async = require 'async'
 ByteBuffer = require '../node_modules/protobufjs/node_modules/bytebuffer'
 config = require './test_config'

					get.setTimeRange ts1, ts2

					client.get testTable, get, (err, row) ->
						assert.equal err, null, "get returned an error: #{err}"
						assert.equal row.row, tRow, "rowKey doesn't match"
						assert.equal row.cols["#{tCf}:#{tCol}"].value, tVal, "value doesn't match"
						cb()

					get.setMaxVersions 3

					client.get testTable, get, (err, row) ->
						assert.notOk err, "get returned an error: #{err}"
						assert.equal row.cols["#{tCf}:#{tCol}"][0].value.toString(), tVal + '2', "latest version value doesn't match"
						assert.equal row.cols["#{tCf}:#{tCol}"][1].value.toString(), tVal + '1', "2nd latest version value doesn't match"
						assert.equal row.cols["#{tCf}:#{tCol}"][2].value.toString(), tVal, "oldest version value doesn't match"
