the unit test framework for grid.py is ready
add the unit test case for grid