treemap: refactor the set operation tests
treemap: add more set tests
treemap: fix a bug in the union implementation