added initialization test for grid