Fix trie test for DB
Add Genesis and refactoring