tests for select-rows