testing class for GridView