Added Testcases to GridControllerTest to increase Code coverage