Completed unit testing for GridModel.