Finished up TreeDensity unit test.