Unit test the geometry computations for 2D grids