More tests
Added index generator
Trigger the static generation on update_db_from_tree