@Test
public void multiPointZ() throws Exception {

    double[] ords = { 1, 2, 3, 4, 5, 6 };
    MultiPoint mp = builder.multiPointZ(ords[0], ords[1], ords[2], ords[3], ords[4], ords[5]);
    assertEquals(2, mp.getNumGeometries());
    Point p = (Point) mp.getGeometryN(0);
    assertEquals(3, p.getCoordinateSequence().getDimension());
}