added test case and flex grid rows