@Test
public void testAddE() {

       StandardGISTreeSet<GISPrimitive> test = new StandardGISTreeSet<>(this.worldBounds);
       assertTrue(test.addAll(this.reference));
       assertEpsilonEquals(this.reference.size(), test.size());
       String msg;
       Random rnd = new Random();
       int testCount = rnd.nextInt(5)+1;
       for(int i=0; i<testCount; ++i) {
       	msg = "test "+(i+1)+"/"+testCount; //$NON-NLS-1$ //$NON-NLS-2$
       	getLogger().info(msg+"..."); //$NON-NLS-1$
        // Add an element
       	double x = this.worldBounds.getMinX() + rnd.nextDouble() * this.worldBounds.getWidth();
       	double y = this.worldBounds.getMinY() + rnd.nextDouble() * this.worldBounds.getHeight();
        GISPrimitive newElement = new MapPoint(x,y);
        assertTrue(this.reference.add(newElement), msg);
        assertTrue(test.add(newElement), msg);
        assertEquals(this.reference.size(), test.size(), msg);
        assertTrue(test.slowContains(newElement), msg);
    	assertEpsilonEquals(this.reference.toArray(),test.toArray(), msg);
    	getLogger().info("done"); //$NON-NLS-1$
       }
}