added test functions, assembleTree, createWorkingQueue, insert