add tests for deeper task trees and fix a bug for prebuilt trees
fix cli after changes to taskTree