Added some tests for Grid.