testBuildCompleteTree