@Test
public void testAddAll() {

       this.reference.clear();
       this.reference.add(new MapPoint(1000,1000));
       this.reference.add(new MapPoint(0,0));
       this.reference.add(new MapPoint(501,801));
       this.reference.add(new MapPoint(500,800));
       this.reference.add(new MapPoint(502,802));
       this.reference.add(new MapPoint(100,800));
       this.reference.add(new MapPoint(800,0));
       List<Point2d> transformed = new ArrayList<>();
       for (final GISPrimitive it : this.reference) {
       	transformed.add(((MapPoint)it).getPoint());
       }
       Rectangle2d bounds = new Rectangle2d();
       bounds.setFromPointCloud(transformed);
       StandardGISTreeSet<GISPrimitive> test = new StandardGISTreeSet<>(bounds);
       assertTrue(test.addAll(this.reference));
       for(GISPrimitive p : test) {
       	assertTrue(this.reference.remove(p));
       }
       assertTrue(this.reference.isEmpty());
}