 			async.eachSeries [0..testRows.length], (i, cb) ->
 				if i is testRows.length
 					scan.next (err, row) ->
-						assert.equal err, null, "scan.next returned an error: #{err}"
+						assert.notOk err, "scan.next returned an error: #{err}"
 						assert.equal Object.keys(row), 0, "last scan should return empty object"
 						cb()
 				else
 					scan.next (err, row) ->
-						assert.equal err, null, "scan.next returned an error: #{err}"
+						assert.notOk err, "scan.next returned an error: #{err}"
 						assert.equal row.row, testRows[i].row, "rowKey doesn't match"
 						cb()
 			, done

				new hbase.Get row.row

			client.mget testTable, gets, (err, res) ->
				assert.equal err, null, "mget returned an error: #{err}"
				assert.equal res.length, testRows.length, "mget didn't return expected number of rows"
				done()


				row.row

			client.mdelete testTable, rows, (err, res) ->
				assert.notOk err, "mdelete returned an error: #{err}"
				assert.equal res.length, 0, "mdelete should return empty row"

				client.mget testTable, rows, (err, res) ->
					assert.notOk err, "mget returned an error: #{err}"
					assert.equal res.length, 0, "not all rows were deleted"
					done()

