bestpath_selection: update files and add test for table_manager