Tests for grid