finish tests for treemap