def METHOD_NAME(self):
    """
    Test batch operate with many keys.
    """
    keys = [("test", "demo", i) for i in range(100, 1000)]
    policy_batch = {}
    policy_batch_remove = {}
    try:
        for key in keys:
            self.as_connection.put(key, {"count": 0})
        res = self.as_connection.batch_remove(keys, policy_batch, policy_batch_remove)
        for i, batch_rec in enumerate(res.batch_records):
            assert batch_rec.result == AerospikeStatus.AEROSPIKE_OK
            assert batch_rec.key[:3] == keys[i]  # checking key
            assert batch_rec.record[2] == {}  # checking bins
            assert batch_rec.record[0][:3] == keys[i]  # checking key in record
    except Exception as ex:
        raise (ex)
    finally:
        for key in keys:
            try:
                self.as_connection.remove(key)
            except e.RecordNotFound:
                continue