Updated config
Added error handling
Added test for #_loadTree
Renamed test files