Added tests for Tree class
LogicalTable API is now cleaner