trie: kvs' next_bucket now properly skips over tombstones.
trie: fixed the kvs encode decode test.