Unit test for rowBasedSelection option.