fixes a test and mkes the JTree update the table with values.