test selection in datagrid