def METHOD_NAME(self):
    """
    Using a single key,
    """
    key = ("test", "unittest", "1")
    # cleanup records
    self.record_count = 0
    def count_records(tuple):
        self.record_count += 1
    def remove_record(input_tuple):
        key, _, _ = input_tuple
        self.as_connection.remove(key)
    self.as_connection.scan("test", "unittest").foreach(remove_record)
    record_to_insert = {
        "i": 1234,
        "s": "abcd",
        "b": bytearray("efgh", "utf-8"),
        "l": [1357, "aceg", bytearray("aceg", "utf-8"), [1, 3, 5, 7], {"a": 1, "c": 3, "e": 5, "g": 7}],
        "m": {
            "i": 2468,
            "s": "bdfh",
            "l": [2468, "bdfh", bytearray("bdfh", "utf-8")],
            "m": {"b": 2, "d": 4, "f": 6, "h": 8},
        },
    }
    # create the record and insert it
    status = self.as_connection.put(key, record_to_insert)
    assert status == 0, "wrong return code"
    # ensure the record exists
    (key, meta) = self.as_connection.exists(key)
    assert meta is not None
    # count inserted records
    self.as_connection.scan("test", "unittest").foreach(count_records)
    assert self.record_count == 1
    # extract a record
    (key, meta, extracted_record) = self.as_connection.get(key)
    assert record_to_insert == extracted_record, "records do not match"
    # add a new bin with value to the record
    status = self.as_connection.put(key, {"hello": "world"})
    assert status == 0, "wrong return code"
    # add the same values to our local version of the record
    record_to_insert["hello"] = "world"
    # get the stored record
    (key, meta, extracted_record) = self.as_connection.get(key)
    assert record_to_insert == extracted_record, "records do not match"
    # remove the record from the DB
    status = self.as_connection.remove(key)
    assert status == 0, "wrong return code"
    # ensure not existent
    try:
        (key, meta) = self.as_connection.exists(key)
        """
        We are making the api backward compatible. In case of
        RecordNotFound an exception will not be raised.
        Instead Ok response is returned withe the
        meta as None. This might change with further releases.
        """
        assert meta is None
    except e.RecordNotFound as exception:
        assert exception.code == 2
    # count records
    self.record_count = 0
    self.as_connection.scan("test", "unittest").foreach(count_records)
    assert self.record_count == 0, "set should be empty"