def METHOD_NAME(self):
    cdb, db = self.get_score_db()
    cases = [
        ['<name1>', ['<sub1>', '<sub2>', '<sub3>'], b'<value1>'],
        ['<name2>', [1, '<sub2>', '<sub3>'], b'<value2>'],
        ['<name3>', [1, '<sub2>', '<sub3>', 128], b'<value3>'],
    ]
    for c in cases:
        keys = c[1]
        depth = len(keys)
        # set data only with dictionary
        sd = DictDB(c[0], db, value_type=bytes, depth=depth)
        for i in range(depth-1):
            sd = sd[keys[i]]
        sd[keys[depth-1]] = c[2]
        # check stored value in sub_db
        for sub_depth in range(depth):
            ddb = db
            for j in range(sub_depth):
                ddb = ddb.get_sub_db(ContainerUtil.encode_key(keys[j]))
            d = DictDB(c[0], ddb, value_type=bytes, depth=depth-sub_depth)
            for k in range(sub_depth, depth-1):
                d = d[keys[k]]
            self.assertEqual(d[keys[depth-1]], c[2])