tests for Grid