test: add tests for dumping a table that uses other table as key

Patricia trie test is only failed:

    [3] table/patricia_trie
      reference_key                                                 0.0368s [failed]
    ================================================================================
    --- (expected)
    +++ (actual)
    @@ -4,5 +4,5 @@
     [[0,0.0,0.0],true]
     dump
     table_create Names TABLE_PAT_KEY ShortText
    -table_create Users TABLE_PAT_KEY Names
    +table_create Users TABLE_HASH_KEY Names

The next commit will fix it.