Added test for isGridFull.