Fixed the unit tests
Fixed case where symbol is missing from the tree