GEOS-6753: fixed a randomly failing test